package com.guigu.mapper;

import com.cjj.vo.FollowDetailsVo;
import com.cjj.vo.FollowDiaryVo;
import com.guigu.pojo.TFollowDetails;
import com.guigu.pojo.TInterposeFollowupVisit;
import com.lc.vo.Interventionprogramview;
import com.lc.vo.interventionTotalView;
import com.lc.vo.returnView;

import java.util.List;

import java.util.List;

/**
 * #随访日记表
 */
public interface TInterposeFollowupVisitMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TInterposeFollowupVisit record);

    int insertSelective(TInterposeFollowupVisit record);

    TInterposeFollowupVisit selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TInterposeFollowupVisit record);

    int updateByPrimaryKey(TInterposeFollowupVisit record);


    List<FollowDiaryVo> queryFollowDiary(FollowDiaryVo condition);

    void insertFollow(FollowDetailsVo followDetailsVo);

    int insertFollowFile(TFollowDetails tFollowDetails);

    int updateOrder(int fileNumber);

    int querycountfollowip();

    List<returnView> querytjfx(Interventionprogramview interventionprogramview);

    List<interventionTotalView> selectsumTInterposeFollowupVisi();
}